package com.rbtnet.blog.web.admin;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * 
 * @author 1136009436@qq.com
 *
 */
@RestController
public class LoginController {
	
	@GetMapping({ "/", "" })
	public ModelAndView welcome(ModelAndView view) {
		view.setViewName("index");
		return view;
	}
}
